package com.crape.message.dao;

import java.util.List;

import com.crape.common.exceptions.DAOException;
import com.crape.common.model.MsgNotice;

public interface IMsgNoticeDAO {
    
    MsgNotice getMsgOutboxById(Long id) throws DAOException;

    List<MsgNotice> getPagedMsgOutboxBySid(Long accountid, Integer state, Integer startIndex, Integer pageSize)
                                                                                                              throws DAOException;

    void insertMsgOutbox(MsgNotice msgOutbox) throws DAOException;

    void updateMsgOutbox(MsgNotice msgOutbox) throws DAOException;

    void deleteMsgOutboxById(Long id) throws DAOException;
}
